package com.java.example.jpush

import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.media.MediaPlayer

/**
 * 自定义接收器
 *
 *
 * 如果不定义这个 Receiver，则：
 * 1) 默认用户会打开主界面
 * 2) 接收不到自定义消息
 */
class MyReceiver : BroadcastReceiver() {
    var mediaPlayer: MediaPlayer? = null
    var `object`: Any = Any()

    override fun onReceive(context: Context, intent: Intent) {
    }

    companion object {
        private const val TAG = "AAAA"
    }
}
